package com.atomway.consumer.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "atomway-sidecar")
public interface SidecarFeign {

	@RequestMapping(value = "/",method = RequestMethod.GET)
	public String getIndex();
	
	@RequestMapping(value = "/health.json", method = RequestMethod.GET)
	public String getHealth();
}
